package com.jf.test.mvp

import android.os.Bundle
import android.os.PersistableBundle
import com.jf.test.R
import com.jf.test.mvp.base.BaseView

/**
 * @Class: MvpAcitivity
 * @Description:
 * @author: github.com/jackyflame
 * @Date: 2021/3/10
 */
class MvpActivity : BaseView<MvpPresenter>() {

    override fun onCreate(savedInstanceState: Bundle?, persistentState: PersistableBundle?) {
        super.onCreate(savedInstanceState, persistentState)
        bindView(R.layout.activity_main,MvpPresenter::class.java)
    }

    fun testActivity(){
        presenter?.testP();
    }

}